import request from '@/utils/request'

// 查询操作人信息列表
export function listOceanUser(query) {
  return request({
    url: '/ocean/oceanUser/list',
    method: 'get',
    params: query
  })
}

// 查询操作人信息详细
export function getOceanUser(id) {
  return request({
    url: '/ocean/oceanUser/' + id,
    method: 'get'
  })
}

// 新增操作人信息
export function addOceanUser(data) {
  return request({
    url: '/ocean/oceanUser',
    method: 'post',
    data: data
  })
}

// 修改操作人信息
export function updateOceanUser(data) {
  return request({
    url: '/ocean/oceanUser',
    method: 'put',
    data: data
  })
}

// 删除操作人信息
export function delOceanUser(id) {
  return request({
    url: '/ocean/oceanUser/' + id,
    method: 'delete'
  })
}
